package ooday02.JavaCodePractice;

public class Person01 {
    String name;
    int age;
    String address;
    String zip;

    void eat() {
        System.out.println(name + "正在吃饭!");
    }

    void sleep() {
        System.out.println(name + "正在睡觉!");
    }

    void sayHi() {
        System.out.println("大家好! 我是" + name + "! 今年" + age + "岁了, 来自" + address + ", 邮政编码为" + zip);
    }
}
